package com.mq.springcloud.service;

import com.mq.springcloud.dao.PaymentDao;
import com.mq.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;


public interface PaymentService {

     public int create(Payment payment);

     public Payment getPaymentById( Long id);

     //服务超时
     public String paymentInfo_OK(Integer id);

     public String paymentInfo_Timeout(Integer id);
     //服务熔断
     public String paymentInfo_TimeOutHandler(Integer id);
}
